package guesswords.khova.com;

import org.anddev.andengine.entity.sprite.Sprite;
import org.anddev.andengine.opengl.texture.region.TextureRegion;

/* Game Objects */

public class GameBlock extends GameObjects {

	public GameBlock() {
		
	}
	
	private char value; // Block Value
	private boolean blockVisible;
	private boolean letterVisible;
	public Sprite sprite;
	public TextureRegion texture;
	public int posX;
	public int posY;
	
	/*
	 * Get if the Block is currently visible on screen
	 */
	public boolean isBlockVisible()
	{
		return blockVisible;
	}
	
	/*
	 * Set Block Visibility State
	 */
	public void setBlockVisible(boolean option)
	{
		blockVisible = option;
	}
	
	/*
	 * Get if the Letter is currently visible on screen
	 */
	public boolean isLetterVisible()
	{
		return letterVisible;
	}
	
	/*
	 * Set Letter Visibility State
	 */
	public void setLetterVisible(boolean option)
	{
		letterVisible = option;
	}
	
	public char dspValue() {
		
		return value;
		
	}
	
	public void setValue(char val) {
		value = val;
	}
	

	
}